package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员套餐配置对象 sys_combo_meal
 * 
 * @author ruoyi
 * @date 2025-04-27
 */
@ApiModel(description = "会员套餐配置对象")
public class SysComboMeal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 套餐名称 */
    @ApiModelProperty(value = "套餐名称",required = true)
    @Excel(name = "套餐名称")
    private String comboMealName;

    /** 会员等级 */
    @ApiModelProperty(value = "会员等级",required = true)
    @Excel(name = "会员等级")
    private String memberLevel;

    /** 会员有效天数 */
    @ApiModelProperty(value = "会员有效天数",required = true)
    @Excel(name = "会员有效天数")
    private String memberDay;

    /** 套餐定价 */
    @ApiModelProperty(value = "套餐定价",required = true)
    @Excel(name = "套餐定价")
    private String comboMealAmount;

    /** 账户余额返现 */
    @ApiModelProperty(value = "账户余额返现",required = true)
    @Excel(name = "账户余额返现")
    private String backMoney;

    /** 会员账户余额抵扣比例 */
    @ApiModelProperty(value = "会员账户余额抵扣比例",required = true)
    @Excel(name = "会员账户余额抵扣比例")
    private String payProportion;

    /** 返现比例 */
    @ApiModelProperty(value = "返现比例",required = true)
    @Excel(name = "返现比例")
    private String cashbackProportion;

    /** 是否开启消费返现功能(0 未开启，1开启) */
    @ApiModelProperty(value = "是否开启消费返现功能(0 未开启，1开启)")
    @Excel(name = "是否开启消费返现功能(0 未开启，1开启)")
    private String cashbackStatus;

    /** 裂变拉新分佣的比例（百分比） */
    @ApiModelProperty(value = "裂变拉新分佣的比例")
    @Excel(name = "裂变拉新分佣的比例", readConverterExp = "百=分比")
    private String memberInvite;

    /** 裂变（0、关闭 1、关闭） */
    @ApiModelProperty(value = "裂变")
    @Excel(name = "裂变", readConverterExp = "0=、关闭,1=、关闭")
    private String inviteStatus;

    /** 套餐介绍 */
    @Excel(name = "套餐介绍")
    @ApiModelProperty(value = "套餐介绍",required = true)
    private String comboPhoto;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setComboMealName(String comboMealName) 
    {
        this.comboMealName = comboMealName;
    }

    public String getComboMealName() 
    {
        return comboMealName;
    }

    public void setMemberLevel(String memberLevel) 
    {
        this.memberLevel = memberLevel;
    }

    public String getMemberLevel() 
    {
        return memberLevel;
    }

    public void setMemberDay(String memberDay) 
    {
        this.memberDay = memberDay;
    }

    public String getMemberDay() 
    {
        return memberDay;
    }

    public void setComboMealAmount(String comboMealAmount) 
    {
        this.comboMealAmount = comboMealAmount;
    }

    public String getComboMealAmount() 
    {
        return comboMealAmount;
    }

    public void setBackMoney(String backMoney) 
    {
        this.backMoney = backMoney;
    }

    public String getBackMoney() 
    {
        return backMoney;
    }

    public void setPayProportion(String payProportion) 
    {
        this.payProportion = payProportion;
    }

    public String getPayProportion() 
    {
        return payProportion;
    }

    public void setCashbackProportion(String cashbackProportion) 
    {
        this.cashbackProportion = cashbackProportion;
    }

    public String getCashbackProportion() 
    {
        return cashbackProportion;
    }

    public void setCashbackStatus(String cashbackStatus) 
    {
        this.cashbackStatus = cashbackStatus;
    }

    public String getCashbackStatus() 
    {
        return cashbackStatus;
    }

    public void setMemberInvite(String memberInvite) 
    {
        this.memberInvite = memberInvite;
    }

    public String getMemberInvite() 
    {
        return memberInvite;
    }

    public void setInviteStatus(String inviteStatus) 
    {
        this.inviteStatus = inviteStatus;
    }

    public String getInviteStatus() 
    {
        return inviteStatus;
    }

    public void setComboPhoto(String comboPhoto) 
    {
        this.comboPhoto = comboPhoto;
    }

    public String getComboPhoto() 
    {
        return comboPhoto;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comboMealName", getComboMealName())
            .append("memberLevel", getMemberLevel())
            .append("memberDay", getMemberDay())
            .append("comboMealAmount", getComboMealAmount())
            .append("backMoney", getBackMoney())
            .append("payProportion", getPayProportion())
            .append("cashbackProportion", getCashbackProportion())
            .append("cashbackStatus", getCashbackStatus())
            .append("memberInvite", getMemberInvite())
            .append("inviteStatus", getInviteStatus())
            .append("comboPhoto", getComboPhoto())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
